package org.nepu.srr.domain.equipmentdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputPlusConverter;
import org.nepu.srr.domain.equipmentdata.vo.CommonInputPlus;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "钻井设备证书参数")
public class DrillingEquipmentCertificateParams {

    @ApiModelProperty("钻井绞车")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "drilling_car")
    CommonInputPlus drillingCar;

    @ApiModelProperty("钻井泵")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "drilling_pump")
    CommonInputPlus drillingPump;

    @ApiModelProperty("天车")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "crown_block")
    CommonInputPlus crownBlock;

    @ApiModelProperty("游动滑车")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "rolling_car")
    CommonInputPlus rollingCar;

    @ApiModelProperty("钻井水龙带")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "water_well")
    CommonInputPlus waterWell;

    @ApiModelProperty("转盘")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "turn_table")
    CommonInputPlus turnTable;

    @ApiModelProperty("顶部驱动")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "top_drive")
    CommonInputPlus topDrive;

    @ApiModelProperty("井架")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "well_frame")
    CommonInputPlus wellFrame;

    @ApiModelProperty("钻井大绳")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "main_string")
    CommonInputPlus mainString;

    @ApiModelProperty("悬臂梁滑移装置")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "hand_lug")
    CommonInputPlus handLug;

    @ApiModelProperty("钻井仪表")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "drilling_meter")
    CommonInputPlus drillingMeter;

    @ApiModelProperty("防爆电器")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "fire_alarm")
    CommonInputPlus fireAlarm;

    @ApiModelProperty("铁钻工")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "steel_driller")
    CommonInputPlus steelDriller;
}
